package lab02.test19;

public class Test19 {
    public static void main(String[] args) {
        String result="HelloWorld";
        for (int j=0;j<result.length();j++){
            char temp=result.charAt(result.length()-j-1);
            if (temp>='A'&&temp<='Z'){
                System.out.print((char)(temp+32));
            }else{
                System.out.print((char)(temp-32));
            }
        }

    }
}
